package com.syni.mdd.yhd.common.all.dao.jpa;

import com.syni.mdd.yhd.common.all.dao.BaseJPADao;
import com.syni.mdd.yhd.common.all.entity.groupChat.BmsDxGroupChat;

import java.util.List;
import java.util.Set;

public interface BmsDxGroupChatDao extends BaseJPADao<BmsDxGroupChat,Integer> {
    List<BmsDxGroupChat> findByBusinessIdAndIsDelete(Integer businessId,Integer isDelete);

    BmsDxGroupChat findByIdAndIsDelete(Integer chatId,Integer isDelete);

    List<BmsDxGroupChat> findByIdInAndIsDelete(Set chatIds,Integer isDelete);

    List<BmsDxGroupChat> findByIdIn(Set ids);
}
